package com.woniuxy.staticdaili;

public class StaticDailiImpl implements AutoMan{
    @Override
    public void hit() {
           previous();
           AutoManImpl autoMan=new AutoManImpl();
           autoMan.hit();
           after();
    }
    public void previous(){
        System.out.println("我是小怪兽，就你叫雷珉啊");
    }
    public void after(){
        System.out.println("小怪兽打不过，撤");
    }

    public static void main(String[] args) {
        AutoMan autoMan=new StaticDailiImpl();
        autoMan.hit();
    }
}
